//
//  ByNetBaseResponseData.h
//  jmsfhz_ios
//
//  Created by pro on 16/8/10.
//  Copyright © 2016年 pro. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ByNetBaseResponseData : NSObject

@property (nonatomic, copy) NSString *code;
@property (nonatomic, strong) id data;
@property (nonatomic, copy) NSString *notify_id;
@property (nonatomic, assign) ByNetDataType trueType;


@property (nonatomic, copy) void(^failourBlock)(NSString *desc, NSInteger code);
@property (nonatomic, copy) void(^successBlock)(id data);

- (id)initWithDic:(NSDictionary *)dic trueType:(ByNetDataType)trueType;     // 初始化方法，用字典
- (void)dataAnalysis;                                                       // 数据解析

@end
